package com.example.model;

import java.math.BigDecimal;
import java.util.Date;

public class UserMoneyRecord {
    private Long recordId;

    private String userId;

    private Long orderId;

    private Integer moneyLogType;

    private Double useMoney;

    private Date createTime;

    public UserMoneyRecord(Long recordId, String userId, Long orderId, Integer moneyLogType, Double useMoney, Date createTime) {
        this.recordId = recordId;
        this.userId = userId;
        this.orderId = orderId;
        this.moneyLogType = moneyLogType;
        this.useMoney = useMoney;
        this.createTime = createTime;
    }

    public UserMoneyRecord() {
        super();
    }

    public Long getRecordId() {
        return recordId;
    }

    public void setRecordId(Long recordId) {
        this.recordId = recordId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Integer getMoneyLogType() {
        return moneyLogType;
    }

    public void setMoneyLogType(Integer moneyLogType) {
        this.moneyLogType = moneyLogType;
    }

    public Double getUseMoney() {
        return useMoney;
    }

    public void setUseMoney(Double useMoney) {
        this.useMoney = useMoney;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}